class LoginController < ApplicationController
  def index
    
  end
  
  def dangnhap
    if(params[:name]=="1")
      redirect_to first_url
    else 
      if(params[:name]=="0")  
      redirect_to ufirst_url
      end
    end
  
  end
end
